Allow LPR backend to print PDF and PS file formats
authorSean Farley <sean+dev@farley.org>
Sat, 17 Nov 2018 18:04:35 +0000 (13:04 -0500)
committerSean Farley <sean+dev@farley.org>
Sat, 17 Nov 2018 18:04:35 +0000 (13:04 -0500)
commit99dfdfcd5e125f5c5ff501a8dc23353ecf90831e
treeeff3dc34f7af626855c807ef8b393f5672593281
parent55faaf1aa194142d6de4f46bee80e80f99a9cbd8
Allow LPR backend to print PDF and PS file formats

At least from GTK v3.22.30, the code disallows attempts to print PDF and
PS files using the LPR backend. Although it is not easy or possible for
GTK to determine if the printer can print these formats by querying lpr,
the print backend should allow lpr to try.

There are two uses cases:
- A filter is being used by lpr, specified in the printcap file, to process the
  files prior to printing them.
- The printer can print PDF and PS files directly. There are many printers that
  can print these formats, so GTK should allow for the possibility.
modules/printbackends/gtkprintbackendlpr.c